.pc-hide{
    display: none;
}

.wrap{
    width: 93%;
    margin: auto;
    max-width: 1780px;
}
.w{
    width: 75%;
    margin: auto;
    max-width: 1440px;
}
.top-bar{
    height: 25px;
    background-color: #111111;
}
.top-in{
    height: 25px;
    line-height: 25px;
    display: flex;
    justify-content: flex-end;

    ul{
        display: flex;

        li{
            color: #ededed;
            font-size: 12px;
            margin-left: 30px;
        }
    }
}


.header{
    height: 78px;
    border-bottom: 1px solid #ccc;

    .header-in{
        height: 78px;
        // background-color: pink;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .logo{
            width: 133px;
        }
        
        .nav{
            display: flex;
            
            li{
            margin: 0 12px;
        }
        }

        .head-r{
            a{
                font-size: 16px;
                margin-left: 10px;
            }
            .icon-gouwudai{
                font-size: 20px;
            }
            .icon-sousuoxiao{
                font-size: 20px;
            }
        }
    }
    
}
.con{
    max-width: 1920px;
    margin: auto;

}

// 推荐信息
.recommend{
    h3{
        font-size: 32px;
        text-align: center;
        padding: 75px 0;

        &::after{
            content: "";
            display: block;
            width: 40px;
            height: 3px;
            background-color: red;
            margin: 10px auto;
        }
        
    }
    .item01{
        display: flex;
        justify-content: space-between;

        li:first-child{
            width: calc(67% - 15px);
        }
        li:last-child{
            width: calc(33% - 15px);
        }
        
        li{
            position: relative;
            overflow: hidden;
            margin-bottom: 30px;

            
            .txt{
                position: absolute;
                left: 0;
                bottom: -40px;
                padding-left: 20px;
                color: #fff;
                transition: 1s;

                h4{
                    font-size: 16px;
                }
                .btn{
                    line-height: 60px;
                }

                
            }
            // 鼠标选中li让txt悬浮
            &:hover .txt{
                    bottom: 0;
                }

            // 黑色透明遮罩
            a::before{
                content: "";
                width: 100%;
                height: 100%;
                display: block;
                background: linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,0.5));
                position: absolute;
                top: 0;
                left: 0;
                opacity: 0;
                transition: 0.8s;
            }
            a:hover::before{
                opacity: 1;
            }
     }
     
    }
    .item02{
        li:first-child{
            width: calc(33% - 15px);
        }
        li:last-child{
            width: calc(67% - 15px);
        }
        
            
     }
    //  权重不够 使用id选择器
     #item03{
        li{
            width: calc(33.3% - 20px);
        }
     }
}

// 科学小课堂
.techclass{
    position: relative;

    a{
        display: block;
        width: 175px;
        height: 45px;
        position: absolute;
        left: 15.9%;
        bottom: 12.4%;
        line-height: 45px;
        text-align: center;
        border: 1px solid #111111;
        background: #fff;
        font-size: 14px;

        &:hover{
            background-color: rgb(167, 32, 32);
            border-color: rgb(167, 32, 32);
            color: #ededed;
         }
    }
    
}

.news{
    // border: 2px solid pink;
    h3{
        font-size: 32px;
        text-align: center;
        padding: 75px 0;

        &::after{
            content: "";
            display: block;
            width: 40px;
            height: 3px;
            background-color: red;
            margin: 10px auto;
        }
        
    }
    ul{
        display: flex;
        justify-content: space-between;

        li{
            width: calc(33.3% - 15px);
            background-color: #f7f3f3;
            // height: auto;
            position: relative;

            
             
            .newstxt{
                padding-left: 20px;

                h5{
                    font-size: 20px;
                    padding: 20px 0 15px;
                }
                .iconfont{
                    padding: 8px;
                    font-size: 16px;
                }
                b{
                    font-size: 16px;
                    color: #111111;
                }
                p{
                    color: #666;
                    padding: 30px 0;
                    font-size: 16px;
                }
                h6{
                    font-size: 16px;
                    padding-top: 30px;
                }
                span{
                    font-size: 14px;
                    color: #666;
                }
                &::before{
                    content: "展会活动";
                    display: block;
                    padding: 6px 10px;
                    background-color: #ccc;
                    color: #fff;
                    position: absolute;
                    top: 0;
                    left: 0;
                 }
                 
                
            }a:hover{
                    color: red;
                }
            #third{
                overflow: auto;
                height: 500px;
            }
        }

    }
}
.butt{
    // border: 2px solid hotpink;
    display: flex;
    justify-content: center;
    padding: 30px 0;
    .butt-l{
        width: 12%;
        border: 1px solid #111111;
        padding: 5px 0;
        font-size: 16px;
        text-align: center;
        margin-right: 20px;
    }
    .butt-l:hover{
        background-color: rgb(167, 32, 32);
    }


}


.footer{
    max-width: 1920px;
    margin: auto;
    background-color: rgb(238, 238, 238);
    
    .foot-top{
        display: flex;
        justify-content: space-between;
        font-size: 18px;
        padding: 10px 0;
        border-bottom: 1px solid #ccc;

        span{
            margin-top: 30px;
        }
        .foot-top-r{
            padding-top: 20px;
            position: relative;
            input{
                width: 350px;
                height: 45px;
                line-height: 45px;
                font-size: 16px;
                padding: 0 45px 0 20px;

            }

            .iconfont{
                height: 24px;
                line-height: 24px;
                font-size: 24px;
                position: absolute;
                right: 10px;
                bottom: 10px;
                // background-color: #666;
                border-left: 2px solid#ccc;
                padding-left: 10px;
            }
        }
        
    }
    .foot{
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid #ccc;
        padding: 20px 0;
        dt{
            font-size: 16px;
            color: #333;
            font-weight: 700;
            padding: 10px 0;
        }
        dd{
            font-size: 14px;
            padding: 10px 0;
        }
    }
    .foot-bottom{
        padding: 20px 0;
        height: 60px;
        line-height: 80px;
        display: flex;
        justify-content: space-between;
        .bottom-l{
            display: flex;
            justify-content: space-between;
        }
        .bottom-l li{
            // float: left;
            padding: 0 10px;
            color: #111111;
        }

        .bottom-r{
            display: flex;
            justify-content: space-between;
        }
        .bottom-r li{
            // float: right;
            padding: 0 10px;
            font-size: 24px;
            
            &:hover{
                color: #111111;
            }
        }
    }
    
}

.end {
    padding: 20px 0;
    display: flex;
    justify-content: center;   
    background-color: #ccc;
    a{
        margin: 0 20px;
    }
}
